#!/bin/sh
# - ip

export PATH=$BENCHMARK_ROOT/netperf/bin:$PATH
. $LKP_SRC/lib/reproduce-log.sh

opt_ip=
[ "$ip" = 'ipv4' ] && opt_ip='-4'
[ "$ip" = 'ipv6' ] && opt_ip='-6'

# start netserver
systemctl stop firewalld

log_echo netserver $opt_ip 
exec netserver $opt_ip
